package com.abel.demo.dao;

import com.abel.demo.dao.BaseDao;
import com.abel.demo.model.SecAuthorityModel;
import com.abel.demo.model.SecAuthorityModelCriteria;
import java.util.List;

import org.apache.ibatis.annotations.Param;

/**
* @author abel.lin
* @date_time 2018-07-17 17:16
* @description
*/
public interface SecAuthorityModelDao extends BaseDao<SecAuthorityModel, SecAuthorityModelCriteria>{

    int countByExample(SecAuthorityModelCriteria example);
    
    int deleteByExample(SecAuthorityModelCriteria example);
    
    int deleteByPrimaryKey(String id);
    
    int insert(SecAuthorityModel record);
    
    int insertSelective(SecAuthorityModel record);
    
    List<SecAuthorityModel> selectByExample(SecAuthorityModelCriteria example);

    SecAuthorityModel selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") SecAuthorityModel record, @Param("example") SecAuthorityModelCriteria example);

    int updateByExample(@Param("record") SecAuthorityModel record, @Param("example") SecAuthorityModelCriteria example);

    int updateByPrimaryKeySelective(SecAuthorityModel record);

    int updateByPrimaryKey(SecAuthorityModel record);
}